﻿using Furion.DatabaseAccessor;
using Microsoft.EntityFrameworkCore;
using PIP.Core;
using PIP.Core.Entites.Yygh;
using System;
using System.Collections.Generic;

namespace PIP.EntityFramework.Core.SeedData
{
    public class HospitalDepartmentSeedData : IEntitySeedData<HospitalDepartment, YyghContextLocator>
    {

        public IEnumerable<HospitalDepartment> HasData(DbContext dbContext, Type dbContextLocator)
        {
            return new[]
            {
                    new HospitalDepartment{Id=1,  departId="01", departAddress="测试地址",
                        departIntro="", departName="核算监测", departNature="", parentDepartId=""},
                     new HospitalDepartment{ Id=2, departId="03", departAddress="测试地址",
                        departIntro="", departName="核算监测", departNature="", parentDepartId=""}
                 };
        }
    }
}
